package com.iteaj.iot.builder;

import com.iteaj.iot.ProtocolHandle;
import com.iteaj.iot.handle.proxy.ProtocolHandleProxyMatcher;

public class ProtocolHandleBuilder<T extends ProtocolHandle> {

    private Builder builder;

    public ProtocolHandleBuilder(Builder builder) {
        this.builder = builder;
    }

    public ProtocolHandleBuilder<T> register(T handle) {

        return this;
    }

    /**
     * 是否启用代理
     * @see ProtocolHandleProxyMatcher
     * @param isProxy
     * @return
     */
    public ProtocolHandleBuilder<T> proxy(boolean isProxy) {

        return this;
    }

    public class ComponentContext {

    }
}
